package com.swxy.club.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.Getter;

import java.util.Map;

/**
 * @author 易
 * 审核状态
 */


@Getter
public enum AuditStatus implements CommonEnum, CharSequence {

    PENDING("pending", "待审核"),
    APPROVED("approved", "通过"),
    REJECTED("rejected", "拒绝");

    @EnumValue
    private final String value;
    private final String description;

    AuditStatus(String value, String description) {
        this.value = value;
        this.description = description;
    }

    @Override
    public int length() {
        return 0;
    }

    @Override
    public char charAt(int index) {
        return 0;
    }

    @Override
    public CharSequence subSequence(int start, int end) {
        return null;
    }
}